package descriptor;

import java.io.Serializable;
import java.util.Vector;



public class OfferListDescriptor implements Serializable{
	private Vector<OfferDescriptor> offerList;

	public OfferListDescriptor(){
		offerList = new Vector<OfferDescriptor>();

	}

	public OfferListDescriptor(Vector<OfferDescriptor> list){
		offerList = new Vector<OfferDescriptor>(list);
	}

	public void addOffer(OfferDescriptor category){
		offerList.add(category);
	}

	public Vector<OfferDescriptor> getOfferList() {
		return offerList;
	}
	
	public int sizeOfferList()
	{
		return offerList.size();
	}

}
